﻿<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home</title>
<link href="css/home.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="script/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/highcharts.js"></script>
<script type="text/javascript" src="js/modules/exporting.js"></script>

<!--CHART-->
<script type="text/javascript">
$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: 'container',
                type: 'bar'
            },
            title: {
                text: 'Statistik Upload Data Kementerian'
            },
            /*subtitle: {
                text: '#Kementerian Perhubungan'
            },*/
            xAxis: {
                categories: ['Kementerian Perhubungan'],
                title: {
                    text: null
                }
            },
            yAxis: {
                min: 0,
                title: {
                    text: 'Data / file',
                    align: 'high'
                }
            },
            tooltip: {
                formatter: function() {
                    return ''+
                        this.series.name +': '+ this.y +' millions';
                }
            },
            plotOptions: {
                bar: {
                    dataLabels: {
                        enabled: true
                    }
                }
            },
            legend: {
                layout: 'vertical',
                align: 'right',
                verticalAlign: 'top',
                x: -100,
                y: 100,
                floating: true,
                borderWidth: 1,
                backgroundColor: '#FFFFFF',
                shadow: true
            },
            credits: {
                enabled: false
            },
            series: [{
                name: 'Tahun 2010',
                data: [107]
            }, {
                name: 'Tahun 2011',
                data: [133]
            }, {
                name: 'Tahun 2012',
                data: [973]
            }]
        });
    });
    
});
		</script>
        <!--END CHART-->

</head>

<body>
    <div id="container" class="chart"></div>  
</body>
</html>
